package com.hotai.vo.account;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.ArrayList;
import java.util.Date;

@Data
public class AccountListSho {

    private Integer id;
    @DateTimeFormat(pattern = "yyyy")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy") //从数据库
    private Date year;
    @DateTimeFormat(pattern = "MM")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "MM") //从数据库
    private Date month;
    private ArrayList<AccountList> accountLists;

}
